<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2022/5/26
  Time: 21:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8"/>
    <title>最家</title>
    <link rel="stylesheet" type="text/css" href="css/public.css"/>
    <link rel="stylesheet" type="text/css" href="css/myorder.css"/>
</head>
<body><!------------------------------head------------------------------>
<%@ include file="header1.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
</div><!------------------------------idea------------------------------>
<div class="address mt">
    <div class="wrapper clearfix"><a href="indexselect" class="fl">首页</a><span>/</span><a
            href="mygxin.html">个人中心</a><span>/</span><a href="myorderqselect" class="on">我的订单</a></div>
</div><!------------------------------Bott------------------------------>
<div class="Bott">
    <div class="wrapper clearfix">
        <div class="zuo fl">
            <h3><a href="#"><img width="80px" height="80px" src="image/headerphoto/${hp.user_filename}"/></a>${name.user_id}
                <p class="clearfix"><span class="fl">[${name.user_name}]</span><span class="fr"><a href="/lyq/admin/logout">[退出登录]</a></span></p></h3>
            <div><h4>我的交易</h4>
                <ul>
                    <li><a href="showcart">我的购物车</a></li>
                    <li class="on"><a href="myorderqselect">我的订单</a></li>
                    <li><a href="myprodselect">评价晒单</a></li>
                </ul>
                <h4>个人中心</h4>
                <ul>
                    <li><a href="mygxinselect">我的中心</a></li>
                    <li><a href="addressselect">地址管理</a></li>
                </ul>
                <h4>账户管理</h4>
                <ul>
                    <li><a href="mygrxxselect">个人信息</a></li>
                    <li><a href="remimaselect">修改密码</a></li>
                </ul>
            </div>
        </div>
        <div class="you fl">
            <div class="my clearfix"><h2 class="fl">我的订单</h2><a href="#" class="fl">请谨防钓鱼链接或诈骗电话，了解更多&gt;</a></div>
            <div class="dlist clearfix">
                <ul class="fl clearfix" id="wa">
                    <li class="on"><a href="#2">全部有效订单</a></li>
                    <li><a href="#2">待支付</a></li>
                    <li><a href="#2l">待收货</a></li>
                    <li><a href="#2">已关闭</a></li>
                </ul>
                <%--搜索功能--%>
                <form action="myorderqselect" method="get" class="fr clearfix">
                    <input type="text" width="50px" name="keywords" placeholder="请输入商品名称"/>
                    <input type="submit" width="50px" value=" "/>
                </form>
            </div>

            <c:forEach items="${olist}" var="o">
            <%-- 已收货 --%>
              <c:if test="${o.stat == 2}">
            <div class="dkuang">
                <p class="one">已收货</p>
                <div class="word clearfix">
                    <ul class="fl clearfix">
                        <li>${o.time}</li>
                        <li>${o.order_u_name}</li>
                        <li>订单号:5160513358520018</li>
                        <li>在线支付</li>
                    </ul>
                    <p class="fr">订单金额：<span>${o.order_p_price * o.order_quantity}</span>元</p></div>
                <div class="shohou clearfix"><a href="#" class="fl"><img src="image/product/${o.order_p_filename}"/></a>
                    <p class="fl"><a href="#">${o.order_p_name}</a><a href="#">¥${o.order_p_price}×${o.order_quantity}</a></p>
                    <p class="fr">
                       <a href="myprodselect">待评价</a>
                        <a href="orderxqselect?id=${o.id}">订单详情</a>
                    </p></div>
            </div>
              </c:if>
            </c:forEach>

            <c:forEach items="${olist}" var="o">
                <c:if test="${o.stat == 4}">
                    <div class="dkuang">
                        <p class="one">已收货</p>
                        <div class="word clearfix">
                            <ul class="fl clearfix">
                                <li>${o.time}</li>
                                <li>${o.order_u_name}</li>
                                <li>订单号:5160513358520018</li>
                                <li>在线支付</li>
                            </ul>
                            <p class="fr">订单金额：<span>${o.order_p_price * o.order_quantity}</span>元</p></div>
                        <div class="shohou clearfix"><a href="#" class="fl"><img src="image/product/${o.order_p_filename}"/></a>
                            <p class="fl"><a href="#">${o.order_p_name}</a><a href="#">¥${o.order_p_price}×${o.order_quantity}</a></p>
                            <p class="fr">
                                <a href="#">已评价</a>
                                <a href="orderxqselect?id=${o.id}">订单详情</a>
                            </p></div>
                    </div>
                </c:if>
            </c:forEach>


            <c:forEach items="${olist}" var="o">
                <%-- 待收货--%>
                <c:if test="${o.stat == 1}">
                <div class="dkuang clearfix deng"><p class="one fl">待收货</p>
                <div class="clearfix">
                    <div class="fl vewwl"><a href="wuliu.html" class="ckwl">查看物流</a>
                        <div class="wuliu"><h4>圆通速递：858888888888888</h4>
                            <ul>
                                <li><p>妥投投递并签收，已签收。签收人：本人签收</p>
                                    <p>2016-12-03 17:30:00</p></li>
                                <li><p>深圳市南油速递营销部安排投递（投递员姓名：六六六。联系电话：14243452522;</p>
                                    <p>2016-12-03 08:50:00</p></li>
                                <li><p>到达广东省邮政速递物流有限公司深圳航空邮件处理中心处理中心（经转）</p>
                                    <p>2016-12-03 02:20:00</p></li>
                                <li>以上为最新跟踪信息<a href="wuliu.html">查看全部</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="word clearfix">
                    <ul class="fl clearfix">
                        <li>${o.time}</li>
                        <li>${o.order_u_name}</li>
                        <li>订单号:5160513358520018</li>
                        <li>在线支付</li>
                    </ul>
                    <p class="fr">订单金额：<span>${o.order_p_price * o.order_quantity}</span>元</p></div>
                <div class="shohou clearfix"><a href="#" class="fl"><img src="image/product/${o.order_p_filename}"/></a>
                    <p class="fl"><a href="#">${o.order_p_name}</a><a href="#">¥${o.order_p_price}×${o.order_quantity}</a></p>
                    <p class="fr"><a href="qr?id=${o.id}">确认收货</a><a href="orderxqselect?id=${o.id}">订单详情</a></p></div>
            </div>
                </c:if>
            </c:forEach>

            <c:forEach items="${olist}" var="o">
<%--               待支付 --%>
                <c:if test="${o.stat == 0}">
            <div class="dkuang deng"><p class="one">待支付</p>
                <div class="word clearfix">
                    <ul class="fl clearfix">
                        <li>${o.time}</li>
                        <li>${o.order_u_name}</li>
                        <li>订单号:5160513358520018</li>
                        <li>在线支付</li>
                    </ul>
                    <p class="fr">订单金额：<span>${o.order_p_price * o.order_quantity}</span>元</p></div>
                <div class="shohou clearfix"><a href="#" class="fl"><img src="image/product/${o.order_p_filename}"/></a>
                    <p class="fl"><a href="#">${o.order_p_name}</a><a href="#">¥${o.order_p_price}×${o.order_quantity}</a></p>
                    <p class="fr"><a href="zf?id=${o.id}">立即支付</a><a href="orderxqselect?id=${o.id}">订单详情</a></p></div>
            </div>
                </c:if>
            </c:forEach>

            <c:forEach items="${olist}" var="o">
<%--                已关闭--%>
                <c:if test="${o.stat == 3}">
            <div class="dkuang"><p class="one">已关闭</p>
                <div class="word clearfix">
                    <ul class="fl clearfix">
                        <li>${o.time}</li>
                        <li>${o.order_u_name}</li>
                        <li>订单号:5160513358520018</li>
                        <li>在线支付</li>
                    </ul>
                    <p class="fr">订单金额：<span>${o.order_p_price * o.order_quantity}</span>元</p></div>
                <div class="shohou clearfix"><a href="#" class="fl"><img src="image/product/${o.order_p_filename}"/></a>
                    <p class="fl"><a href="#">${o.order_p_name}</a><a href="#">¥${o.order_p_price}×${o.order_quantity}</a></p>
                    <p class="fr"><a href="#">交易失败</a><a href="orderxqselect?id=${o.id}">订单详情</a></p></div>
            </div>
                </c:if>
            </c:forEach>

            <%--分页--%>
            <div class="fenye clearfix">
                <a href="#"><img src="img/zuo.jpg"/></a>
                <a href="#">1</a>
                <a href="#"><img src="img/you.jpg"/></a></div>
            </div>
    </div>
</div><!--返回顶部-->
<div class="gotop"><a href="showcart">
    <dl>
        <dt><img src="img/gt1.png"/></dt>
        <dd>去购<br/>物车</dd>
        </dl>
</a><a href="#" class="dh">
    <dl>
        <dt><img src="img/gt2.png"/></dt>
        <dd>联系<br/>客服</dd>
    </dl>
</a><a href="mygxinselect">
    <dl>
        <dt><img src="img/gt3.png"/></dt>
        <dd>个人<br/>中心</dd>
    </dl>
</a><a href="#" class="toptop" style="display: none">
    <dl>
        <dt><img src="img/gt4.png"/></dt>
        <dd>返回<br/>顶部</dd>
    </dl>
</a>
    <p>400-800-8200</p></div><!--footer-->
<div class="footer">
    <div class="top">
        <div class="wrapper">
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot1.png"/></a><span class="fl">7天无理由退货</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot2.png"/></a><span class="fl">15天免费换货</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot3.png"/></a><span class="fl">满599包邮</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot4.png"/></a><span class="fl">手机特色服务</span>
            </div>
        </div>
    </div>
    <p class="dibu">最家家居&copy;2013-2017公司版权所有 京ICP备080100-44备0000111000号<br/>
        违法和不良信息举报电话：188-0130-1238，本网站所列数据，除特殊说明，所有数据均出自我司实验室测试</p></div>
<script src="js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/public.js" type="text/javascript" charset="utf-8"></script>
<script src="js/user.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>